package com.antler.smt.portal.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 资源配置
 *
 * @author vic
 * @date 2017-09-28 18:10
 */
@Component
@ConfigurationProperties(prefix = "custom.resource")
public class ResourceConfig {
    /**
     * 默认数量
     */
    private Integer defaultNum;

    public Integer getDefaultNum() {
        return defaultNum;
    }

    public void setDefaultNum(Integer defaultNum) {
        this.defaultNum = defaultNum;
    }
}
